package com.tunan.common;

public  class Result {
	//属性
	private boolean success;
	private String message;
	
	public Result(){
	}
	public Result(boolean success){
		this.success = success;
	}
	
	public Result(boolean success, String message){
		this(success);
		this.message = message;
	}

	
	public boolean isSuccess() {
		return success;
	}
	public void setSuccess(boolean success) {
		this.success = success;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
}
